package com.mao.service.impl.voucher;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mao.dao.voucher.ProductDeliveryVoucherDao;
import com.mao.dao.voucher.ProductWareHouseVoucherDao;
import com.mao.model.voucher.ProductDeliveryVoucher;
import com.mao.model.voucher.ProductWareHouseVoucher;
import com.mao.service.voucher.IProductDeliveryVoucherService;
import com.mao.service.voucher.IProductWareHouseVoucherService;

@Service("pdvService")
public class ProductDeliveryVoucherServiceImpl<T> implements
		IProductDeliveryVoucherService<T> {

	private ProductDeliveryVoucherDao pdvDao;

	public ProductDeliveryVoucher savePdv(ProductDeliveryVoucher pdv) {
		return pdvDao.savePdv(pdv);
	}

	public ProductDeliveryVoucherDao getPdvDao() {
		return pdvDao;
	}

	@Autowired
	public void setPdvDao(ProductDeliveryVoucherDao pdvDao) {
		this.pdvDao = pdvDao;
	}

	
}
